#include <cstdio>
using namespace std;

int main() 
{

	printf("%5d\n", 666);
	printf("%5d\n", 6);
	printf("%6.2f\n", 0.5);
	printf("%*.*f\n", 6, 2, 0.5);
    return 0;
}
